package com.miyu.client1.test;

public class t {
    public static void main(String[] args) {

        String str="1@-1";
        String[] p = str.split("@");
        System.out.println(p.length);
        System.out.println(p[0]+">>>>>"+p[1]);

        String spt = "abcdefg";
        System.out.println(spt.substring(Integer.valueOf(p[0]),Integer.valueOf(p[1])));
    }
}
